<!DOCTYPE html>
    <html lang="zh-cmn-Hans">
        <head>
            <meta charset="utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <meta name="description" content="cms">
            <meta name="keywords" content ="cms">
            <meta name="author" content="LM">
            <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0, user-scalable=no ">
		    <title>
		    新闻网
			  </title>
		    <link href="/Show/Home/Public/css/bootstrap.min.css" rel="stylesheet" type ="text/css"/>
		    <link href="/Show/Home/Public/css/common.css"rel="stylesheet"type="text/css">
			<!--在小于767像素的屏幕里；这里的样式才有效-->
		    <link media="only screen and (max-width: 767px)"href="/Show/Home/Public/css/index1.css" rel="stylesheet"type="text/css">
		    <!--在767和991像素之间的屏幕里，这样的样式才有效-->
		    <link media="only screen and (min-width: 768px) and (max-width: 991px)"href="/Show/Home/Public/css/index2.css" rel="stylesheet"type="text/css">
			<!--在992和1199像素之间的屏幕里，这样的样式才有效-->
			  <link media="only screen and (min-width: 992px) and (max-width: 1199px)"href="/Show/Home/Public/css/index3.css"rel="stylesheet"type="text/css">
			<!--在大于1200像素的屏幕里，这样才有效-->
			  <link media="only screen and (min-width: 1200px)"href="/Show/Home/Public/css/index4.css"rel="stylesheet">
        </head>
        <body>
           <!--顶部的logo-->
            <div class="fluid news-container">
			          <div class="row">
				            <div class="col-md-8 mobile-logo">
				                <img src="/Show/Home/Public/img/news-logo.jpg" class="img-responsive"width="80%"/>
				            </div>
					          <div class="col-md-4 news-logo">
					              <form class="navbar-form" role="search">
						                <div class="input-group ipad">
				                        <input type="text" class="form-control"placeholder="请输入要查询的内容">
						                    <div class="input-group-btn">
						                        <button class="btn btn-default">搜索</button>
						                    </div>    
						                </div>
						            </form>
					          </div>
                </div>
		        </div>
	    <!--页面主体-->
	    <div class="container news-dist">
	    	  <div class="row">
	    		    <div class="col-md-3">
                  <ul class="nav nav-pills nav-stacked">
                      <li class="active"><a href="#">新闻导航</a></li>
                      {section name=n loop=$news_class}
                      <li><a href="{$smarty.const.__CONTROLLER__}/news/id/{$news_class[n].id}">{$news_class[n].name}</a></li>
                      {/section}
                  </ul>
	             </div>
	    		<div class="col-md-9">
              <div class="news-title">{$name.name}</div>
              <hr class="news-bor">
            <!--轮播器-->
              <div id="mycarousel" class="carousel slide" data-ride="carousel">
                  <ol class="carousel-indicators">
                      <li data-target="#mycarousel" data-slide-to="0" class="active"></li>
                      <li data-target="#mycarousel" data-slide-to="1"></li>
                      <li data-target="#mycarousel" data-slide-to="2"></li>
                      <li data-target="#mycarousel" data-slide-to="3"></li>
                      <li data-target="#mycarousel" data-slide-to="4"></li>
                      <li data-target="#mycarousel" data-slide-to="5"></li> 
                  </ol>
                  <div class="carousel-inner"role="listbox">
                      <div class="item active">
                          <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$round.id}" target="_blank"><img src="{$round.picture}"width="1400px"height="400px"/></a>   
                      </div>
                      {section name=n loop=$roundB}
                      <div class="item">
                          <a href="{$smarty.const.__MODULE__}/Newslist/show/id/{$roundB[n].id}"  target="_blank"><img src="{$roundB[n].picture}"width="100%"height="400px"/></a> 
                      </div>
                      {/section}
                      <a class="carousel-control left" href="#mycarousel" role="button"
                      data-slide="prev">
                      <span class="glyphicon glyphicon-chevron-left"></span>
                      <span class="sr-only">Previous</span>
                      </a>
                      <a class="carousel-control right" href="#mycarousel" 
                      data-slide="next">
                     <span class="glyphicon glyphicon-chevron-right"></span>
                      <span class="sr-only">Next</span>
                      </a>
                </div>
            </div>
	    			<div class="row">
                <div class="col-md-10">
                    <ul>
                        {section name=n loop=$list}
                            <hr>
                            <li><a href="{$smarty.const.__CONTROLLER__}/show/id/{$list[n].id}" target="_blank">{$list[n].title}</a></li>
                        {/section}
                      </ul>
                 </div>
	    		 <div class="col-md-2">
                  <ul>
                        {section name=n loop=$list}
                        <hr>
                    <li>{$list[n].time|date_format:"%Y-%m-%d"}</li>
                        {/section} 
                </ul>	
            </div>
	    	</div>
	  </div> 
    </div>
  </div>
  <div class="news-button">
      {$page}
  </div>

      <!--底部块-->
      <div class="foot">
          <div class="fluid">
              <div class="row"> 
                  <div class="news-footer col-md-6">
                      <img src="/Show/Home/Public/img/news-logo.jpg"class="img-responsive pc-edge"width="40%">
                  </div>
                  <div class="news-footer-text col-md-6">
                  <P>
                 粤ICP备05008878号<br>
                 地址：广东省梅州市梅松路　邮编：514015　维护：信息网络中心<br>
                 版权所有©嘉应学院<br>
                   </p>
                 </div>
          </div>
        </div>

        	 <script text="javascript" src="/Show/Home/Public/js/jquery.min.js"></script>
			<script text="javascript" src="/Show/Home/Public/js/bootstrap.min.js"></script>	
			<script type="text/javascript">

			</script>
			<!--[if lt IE9]-->
	        <script src="http://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="http://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js">
			</script>
			<!--[endif]-->
		</body>
		</html>
		